package es.xpt.ysf.commons.issues.model;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import es.xpt.ysf.jaas.YSFPrincipal;
import es.xpt.ysf.model.Item;

public class IssueSubscribers {
	public static enum CommunicationMedia {
		EMAIL;
	};
	
	
	private List<Item> roles;
	private List<YSFPrincipal> users;
	private Map<YSFPrincipal, CommunicationMedia> communicationMedia = new HashMap<YSFPrincipal, CommunicationMedia>(5);
	
	public List<Item> getRoles() {
		return roles;
	}
	public void setRoles(List<Item> roles) {
		this.roles = roles;
	}
	public List<YSFPrincipal> getUsers() {
		return users;
	}
	public void setUsers(List<YSFPrincipal> users) {
		this.users = users;
	}
	public Map<YSFPrincipal, CommunicationMedia> getCommunicationMedia() {
		return communicationMedia;
	}
	public void setCommunicationMedia(Map<YSFPrincipal, CommunicationMedia> communicationMedia) {
		this.communicationMedia = communicationMedia;
	}
}
